<fieldset>
    <legend>Thay đổi thông tin</legend>
    <?php echo $this->Form->create('User');?>
    <table id="edit-user-form" border="0" width="100%">
        <tr><td colspan="3"><hr /></td></tr>
        <tr>
            <td width="30%"></td>
            <td width="20%"><b>Email</b></td>
            <td><?php echo $this->Form->input('email', array(
                                                            'value' => @$user['User']['email'],
                                                            'label' => ''                                
                            ));?></td>
        </tr>
        <tr>
            <td></td>
            <td><b>Số điện thoại</b></td>
            <td><?php echo $this->Form->input('phone', array(
                                                            'value' => @$user['User']['phone'],
                                                            'label' => ''                                
                            ));?></td>
        </tr>
        <tr>
            <td></td>
            <td><b>Ngày sinh</b></td>
            <td><?php echo $this->Form->input('birthday', array(
                                                            'selected' => @$user['User']['birthday'],
                                                            'label' => '',
                                                            'minYear' => '1980'
                            ));?></td>
        </tr>
        <tr><td colspan="3"><hr /></td></tr>
        <tr><td colspan="3" align="center"><?php echo $this->Session->flash();?></td></tr>
        <tr>
            <td colspan="3" align="center">
            <?php
                echo $this->Form->button('Lưu', array('type' => 'submit', 'label' => ''));
                echo $this->Form->button('Xóa hết', array('type' => 'reset'));  
                echo $this->Form->end();
            ?>
            </td>
        </tr>
    </table>
</fieldset>